package com.api.springdemo.dao;

import com.api.springdemo.entity.User;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface UserMapper {

    void saveUser(User user);

    User getById(int id);

    List<User> selectPage();
}
